package org.eiahe.hr.attendance.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ehe.common.mybatis.core.domain.BaseEntity;
import org.eiahe.hr.attendance.domain.MonthlyOvertimeStat;

/**
 * 月度加班统计业务对象
 *
 * @author zhangnn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MonthlyOvertimeStat.class, reverseConvertGenerate = false)
public class MonthlyOvertimeStatBo extends BaseEntity {

    /**
     * 统计ID
     */
    private Long statId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 员工姓名(查询用)
     */
    private String employeeName;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 年份
     */
    private Integer year;

    /**
     * 月份
     */
    private Integer month;

    /**
     * 总加班时长(分钟)
     */
    private Integer totalMinutes;

    /**
     * 工作日加班时长(分钟)
     */
    private Integer workdayMinutes;

    /**
     * 周末加班时长(分钟)
     */
    private Integer weekendMinutes;

    /**
     * 节假日加班时长(分钟)
     */
    private Integer holidayMinutes;

    /**
     * 加班次数
     */
    private Integer overtimeCount;

    /**
     * 状态(0正常 1异常)
     */
    private String status;

    /**
     * 备注
     */
    private String remark;
}
